package person.drf.shop.search.vo;

import lombok.Data;

import java.util.List;

//封装页面所有可能传递过来的查询条件
@Data
public class SearchParm {

    private String keyword;  //首页输入框输入的关键字内容
    private Long catalog3Id; //三级分类id

    //sort= saleSort_desc/asc  skuPrice_desc/asc  hotScore_asc/desc
    private String sort;     //排序条件

    //过滤条件
    //hasStock=0/1 是否只显示有货  skuPrice=1_500/ 1_ / 500_ 价格区间
    //brandId 品牌id(支持多选)
    //attrs 属性筛选
    //页码
    private Integer hasStock;
    private String skuPrice;
    private List<Long> brandId;
    private List<String> attrs;
    private Integer pageNum=1;
}
